﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class PurchaseOrderBody
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public decimal HeadID { get; set; }

        /// <summary>
        /// 资产编号
        /// </summary>
        public string PO_ItemID { get; set; }

        /// <summary>
        /// 物品名称
        /// </summary>
        public string PO_ItemName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string PO_Specs { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string PO_Unit { get; set; }

        /// <summary>
        /// 单价（元）
        /// </summary>
        public decimal PO_Price { get; set; }

        /// <summary>
        /// 申请数量
        /// </summary>
        public decimal PO_ApplyQty { get; set; }

        /// <summary>
        /// 已购买数量
        /// </summary>
        public decimal PO_ReadyQty { get; set; }

        /// <summary>
        /// 本次购买数量
        /// </summary>
        public decimal PO_BuyQty { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public double PO_Texrate { get; set; }

        /// <summary>
        /// 含税合计费用
        /// </summary>
        public decimal PO_TotalCost { get; set; }

        /// <summary>
        /// 关联申请单号
        /// </summary>
        public string PO_ApplyNo { get; set; } = "";

        /// <summary>
        /// 是否删除（0：未删除；1：已删除）
        /// </summary>
        public int IsDelete { get; set; }
    }
}